<!-- new_page.html -->
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>商品採集信息明細</title>
    <link href="style/bootstrap.min.css" rel="stylesheet" />
    <script src="scripts/settings.js"></script>
    <script src="scripts/jquery-3.5.1.js"></script>
    <script src="scripts/bootstrap.min.js"></script>
    <script src="scripts/popper.min.js"></script>
    <script src="scripts/bootstrap-select.min.js"></script>

    <style scoped>
        /* 设置弹出页面的大小 */
        .btn-grounp {
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
        }
        /* Custom CSS to gray out read-only inputs */
        input[readonly],
        textarea[readonly] {
            background-color: #f8f9fa;
            /* 设置灰色背景色 */
            color: #6c757d;
            /* 设置灰色文本颜色 */
        }
        .container {
            margin-top: 20px !important;
        }
        .col {
            text-align: left;
        }
        .imgs-scrollX-container {
            width: 460px;
            height: 120px;
            position: relative;
            overflow: hidden;
            margin: 10px auto;
            padding: 0px 20px;
        }
        #scroll-content {
            width: 100% !important;
            height: 120px;
            white-space: nowrap;
            overflow-x: hidden;
            overflow-y: hidden;
            position: relative;
            /* padding: 0px 20px; */
        }
        .scroll-btn {
            position: absolute;
            top: 55%;
            transform: translateY(-50%);
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 15px;
            height: 20px;
            width: 20px;
            text-align: center;
            line-height: 15px;
            z-index: 999;
            background-color: #70b3ff;
            color: white;
        }
        .scroll-btn.left {
            left: 0;
        }
        .scroll-btn.right {
            right: 0;
        }
        .cursor{
            cursor: pointer;
        }
        .el-upload--picture-card {
            width: 80px;
            height: 80px;
            line-height: 80px;
        }
        .el-upload-list__item.is-ready {
            width: 80px;
            height: 80px;
        }
    </style>
</head>
<body>
    <div class="container text-center">
        <div class="row">
            <div class="col">
                <h2 style="text-align: left;">商品信息</h2>
            </div>
            <div class="col-6"></div>
            <div class="col">
                来源渠道: <span id="from_source" style="text-align: right;">淘宝</span>
            </div>
        </div>
        <hr />
        <form id="mainform" name="mainform">
            <div class="row">
                <div class="col-5">
                    <input type="hidden" name="platform" id="item_platform" value="" />
                    <input type="hidden" name="PICTUREURL" id="item_pic_url" value="" />
                    <input type="hidden" name="uid" id="item_uid" value="" />
                    <input type="hidden" name="source" value="线上资讯款" />
                    <img src="https://zhr-system.oss-cn-shenzhen.aliyuncs.com/icon/noImg4.png" class="img-thumbnail"
                        alt="..." id="item_pic" />
                    <div class="imgs-scrollX-container mt10" style="border: 1px solid #dee2e6;">
                        <i class="el-icon-arrow-left scroll-btn left cursor" @mouseover="scrollLeft()">&lt;</i>
                        <div id="scroll-content">

                        </div>
                        <i class="el-icon-arrow-right scroll-btn right cursor" @mouseover="scrollRight()">&gt;</i>
                    </div>
                </div>
                <div class="col-6">
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">商品名称：</label>
                            <input type="text" name="name" id="item_name" value="" class="form-control" readonly />
                        </div>

                        <div class="col">
                            <label class="label_items">品类：</label>
                            <input type="text" name="category" id="item_style" value="" class="form-control" />
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">销量：</label>
                            <input type="text" name="saleDesc" id="item_saleDesc" value="" class="form-control" />
                        </div>

                        <div class="col">
                            <label class="label_items">年份：</label>
                            <input type="text" name="saleYear" id="item_saleYear" value="" class="form-control" />
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">季节:</label>
                            <input type="text" name="season" id="item_seasonDesc" value="" class="form-control" />
                        </div>

                        <div class="col">
                            <label class="label_items">售价:</label>
                            <input type="text" name="price" id="item_price" value="" class="form-control" />
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">尺码:</label>
                            <input type="text" name="size" id="item_size" class="form-control" />
                        </div>

                        <div class="col">
                            <label class="label_items">颜色:</label>
                            <input type="text" name="color" id="item_color" value="" class="form-control" />
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">链接:</label>
                            <input type="text" name="link" id="item_link" class="form-control" readonly />
                        </div>

                        <div class="col">
                            <label class="label_items">找款人:</label>
                            <select id="item_user" name="dutyUser" class="form-control" aria-label="请选择找款人">
                                <option value='' selected>请选择</option>
                            </select>
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">店铺名称:</label>
                            <input type="text" name="shop" id="item_shop" value="" class="form-control" readonly />
                        </div>
                        <div class="col">
                            <label class="label_items">性别:</label>
                            <select id="item_gender" name="gender" class="form-control" aria-label="请选择性别">
                                <!-- <option selected>请选择性别</option> -->
                                <option value="男">男</option>
                                <option selected value="女">女</option>
                            </select>
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">业务类型:</label>
                            <select id="item_businessType" name="businessType" class="form-control" aria-label="请选择业务类型">
                                <option selected value="开发">开发</option>
                                <option value="现货">现货</option>
                            </select>
                        </div>
                        <div class="col">
                            <label class="label_items">找款时间:</label>
                            <input type="text" name="searchTime" id="item_searchTime" value="" class="form-control"
                                readonly />
                        </div>
                    </div>
                    <div class="row mb-1">
                        <div class="col">
                            <label class="label_items">基本参数:</label>
                            <textarea cols="30" rows="10" name="base" id="item_base" class="form-control"></textarea>
                        </div>
                    </div>
                    <div class="row mb-1 btn-grounp">
                        <button type="submit" class="btn btn-primary" id="btn-submit">导入信息</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</body>
<script type="text/javascript" src="newpage.js"></script>
</html>